package kuzmenkov.oip.controller.applet;

/**
 * The class stores data about some image
 * @author Michael Kuzmenkov
 *
 */
public class ImageData {
	/**
	 * A path to an image
	 */
	private String filePath;

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	
	public String toString() {
		if (filePath!=null){
			String[] ss = filePath.split("/");
			int len = ss.length;
			if (len > 0)
				return ss[len-1];
		}
		return "";
	}
	
	

}
